package com.gengzp.common.model.permission.entity;

import com.gengzp.common.model.generic.entity.GenericEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @ClassName UserRoleRelation
 * @Description 用户角色关联关系实体类
 * @Author gengzp
 * @Date 2025/9/19 10:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserRoleRelation extends GenericEntity {

    @Serial
    private static final long serialVersionUID = -1883939170681887275L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 角色id
     */
    private Long roleId;

}
